//
//  YFSensorApi.h
//  CoollangTennisBall
//
//  Created by Coollang on 2018/1/15.
//  Copyright © 2018年 Coollang-YF. All rights reserved.
//

#import "YFBaseRequest.h"


@class VersionItem;
@interface YFSensorApi : YFBaseRequest

// 获取固件设备版本
+ (instancetype)getLastDeviceVersionWithOemType:(OemType)oemType withComplete:(void(^)(BOOL success,YFSensorApi *resultAPi,VersionItem *item,NSError *error))completeblock;

// 上传固件信息
+ (instancetype)initWithOemType:(OemType)oemType derviceMac:(NSString *)mac derviceName:(NSString *)name;

@end
